home *** CD-ROM | disk | FTP | other *** search
-
-
-
- sssseeeettttssssppppiiiinnnnffffoooo((((2222)))) sssseeeettttssssppppiiiinnnnffffoooo((((2222))))
-
-
-
- NNNNAAAAMMMMEEEE
- setspinfo - set service provider information
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////eeeexxxxttttaaaacccccccctttt....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
-
- iiiinnnntttt sssseeeettttssssppppiiiinnnnffffoooo((((ssssttttrrrruuuucccctttt aaaacccccccctttt____ssssppppiiii ****ssssppppiiii))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _s_e_t_s_p_i_n_f_o function sets the service provider information for the
- array session containing the current process to the contents of the
- aaaacccccccctttt____ssssppppiiii struct pointed to by _s_p_i. Typically, this would only be done
- when the array session is first created. The invoker must have superuser
- privileges.
-
- Service provider information is intended for use by software such as
- batch queueing systems that need to maintain fairly static information
- about an array session. It is included in session accounting records and
- can be retrieved by any member of the array session. Ordinarily, the
- service provider information for a new array session is inherited from
- the array session of the process that created it; _s_e_t_s_p_i_n_f_o can be used
- to override this default behavior.
-
- The service provider information itself has no particular meaning to
- IRIX. For convenience, a suggested aaaacccccccctttt____ssssppppiiii struct is defined in the
- <_s_y_s/_e_x_t_a_c_c_t._h> header file and has the following layout:
-
- struct acct_spi { /* Service provider information */
- char spi_company[8]; /* Name of company providing service */
- char spi_initiator[8]; /* Name of machine initiating job */
- char spi_origin[16]; /* Name of queue */
- char spi_spi[16]; /* Available for service provider */
- char spi_spare[16]; /* reserved */
- }
-
-
- _s_e_t_s_p_i_n_f_o is provided primarily for compatibility with older versions of
- IRIX. A more general mechanism for setting the service provider
- information, including the ability to save more or less than the 64 bytes
- of data implied by aaaacccccccctttt____ssssppppiiii, is provided by the AAAARRRRSSSSOOOOPPPP____SSSSEEEETTTTSSSSPPPPIIII function of
- _a_r_s_o_p(2).
-
- EEEERRRRRRRROOOORRRRSSSS
- _s_e_t_s_p_i_n_f_o may fail if one or more of these conditions are true:
-
- EEEEFFFFAAAAUUUULLLLTTTT _s_p_i points to an invalid location.
-
- EEEEPPPPEEEERRRRMMMM The current process does not have superuser privileges.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- sssseeeettttssssppppiiiinnnnffffoooo((((2222)))) sssseeeettttssssppppiiiinnnnffffoooo((((2222))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- arsop(2), getspinfo(2), newarraysess(2), array_sessions(5), extacct(5).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, _s_e_t_s_p_i_n_f_o returns a value of 0. Otherwise, a
- value of -1 is returned and eeeerrrrrrrrnnnnoooo is set to indicate the error.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-